﻿@model Campus.Entities.Responsable

@{
    ViewBag.Title = "_CreateOrEditByResponsable";
}


        <div class="editor-label">
            @Html.LabelFor(model => model.Nombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nombre)
            @Html.ValidationMessageFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Apellido)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Apellido)
            @Html.ValidationMessageFor(model => model.Apellido)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DNI)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DNI)
            @Html.ValidationMessageFor(model => model.DNI)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Direccion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Direccion)
            @Html.ValidationMessageFor(model => model.Direccion)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Localidad)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Localidad)
            @Html.ValidationMessageFor(model => model.Localidad)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CodigoPostal)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CodigoPostal)
            @Html.ValidationMessageFor(model => model.CodigoPostal)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telefono)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telefono)
            @Html.ValidationMessageFor(model => model.Telefono)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Celular)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Celular)
            @Html.ValidationMessageFor(model => model.Celular)
        </div>

@*        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>*@


        <div class="editor-label">
            @Html.LabelFor(model => model.Usuario)
        </div>
        <div class="editor-field">
            <input type="text" id="Usuario" disabled=disabled value="@ViewBag.Usuario"/>
            @Html.ValidationMessageFor(model => model.Usuario)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Notas)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Notas, new {  cols = 40, rows = 5 } )
            @Html.ValidationMessageFor(model => model.Notas)
        </div>

        <br />
        @Html.ValidationSummary(true, "Por favor verifique e intente de nuevo.", new { @class="alert alert-error"})

            @Html.HiddenFor(model => model.FechaCreacion)

            @Html.HiddenFor(model => model.FechaAprobacion)

            @Html.HiddenFor(model => model.FechaEsperandoAprobacion)
            
     

@section Footer{


<script language="javascript" >
    $(document).ready(function () {
        $("#Usuario").text('@ViewBag.Usuario');
    }); 
    
</script>

}